#ifndef OPERATION_H
#define OPERATION_H

#include "message.h"

typedef struct
{
    const char *operation;
    bool (*action)(void);
} OperationHandler;

typedef struct
{
    const char *entity;
    OperationHandler *operations;
    int num_operations;
} EntityHandler;

bool handle_message(const MessageKeyValue *msg);

#endif
